home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re Mouse Event Handling.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Mouse Event Handling
  2. Sent:        3/13/96 9:16 AM
  3. Received:    3/13/96 9:31 AM
  4. From:        lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Henri,
  9. >
  10. >I've looked at ODF's FW_CTracker and it appears that it will not handle
  11. >tracking from one frame to another.  I am writing a part that uses multiple
  12. >sequenced frames and needs to be able to tell when the mouse is within a
  13. >frame, when it leaves a frame and when it enters another frame when the mouse
  14. >button is down.
  15. >
  16. >If FW_CTracker is the way to go, could you send me a snippet of code to
  17. >demonstrate how to use it going from frame to frame?  Or, is there some way
  18. >to use ODF's MouseEnter, MouseWithin and MouseLeave routines while the mouse
  19. >button is down?
  20. >
  21. >Your help is appreciated,
  22. >Ken
  23. >BikeB4Work@aol.com
  24.  
  25. You are right, FW_CTracker doesn't work accross frames. I didn't 
  26. understand you were trying to do that. 
  27.  
  28. MouseEnter, MouseWithin and MouseLeave are not ODF methods they are 
  29. OpenDoc methods (we just transform calls to those methods to special 
  30. events and sent them to FW_MEventHandler). The limitation you have found 
  31. is a limitation in OpenDoc. 
  32.  
  33. This is something we will add in a future release of ODF but right now 
  34. you need to deal with OpenDoc directly. I will forward your question to 
  35. the OpenDoc team (You can also send it to the OpenDoc-Interest mailing 
  36. list).
  37.  
  38.  
  39.  
  40. .......................................................................
  41.  Henri Lamiraux                                      lamiraux@apple.com
  42.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  43. .......................................................................
  44.  
  45.  
  46.